package com.example.environment.enums;


/**
 *  @author: wangbo(1141294273@qq.com)
 *  @Date: 2021/1/29 16:53
 *  @Description: http请求枚举
 */
public enum HttpMsgEnum {

    SUCCESS("200","请求成功"),
    DISABLE("500","服务器异常");

    private  String code;
    private String name;

    private HttpMsgEnum(String code,String name) {
        this.code = code;
        this.name = name();
    }
    public String getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public void setName(String name) {
        this.name = name;
    }

}
